<!--{include file="<!--{$oetplpath}-->public/widget_header.tpl"}-->
<script src="<!--{$skinpath}-->public/js/monisel.js"></script>
<script src="<!--{$skinpath}-->public/js/reg.js"></script>
<div class="oereg_top">
  <div class="oereg_topcon">
    <div class="oereg_logo">
      <a href="<!--{$config.siteurl}-->"><img src="<!--{$urlpath}--><!--{$config.logo}-->" /></a>
    </div>
    <div class="oereg_right"> 已经是会员？<a href="<!--{routeurl module='passport' action='login'}-->">登录</a> </div>
    <div class="clear"></div>
  </div>
</div>

<div class="oereg_content">
  <div class="oereg_list">
    <div class="hd">
      <h3>注册新会员</h3>
      <p>欢迎注册成为本站会员，认识更多的新朋友！</p>
    </div>
    <div class="bd">
      <dl>
        <dt>手机号<i></i></dt>
        <dd>
          <input type="text" name="mobile" id="mobile" f="checkinput" maxlength="11" value="<!--{$loginname}-->" />
          <p class="text" id="mobile_pt" f="changept" data-id="mobile"<!--{if !empty($loginname)}--> style='display:none;'<!--{/if}-->>请输入手机号码</p>
          <p class="error" id="mobile_tips"></p>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{if $config.regmobilecode == '1' && $config.smsflag == '1'}-->
      <dl class="ma">
        <dt>验证码</dt>
        <dd>
          <input type="text" name="mobilecode" id="mobilecode" f="checkinput" maxlength="6" />
          <p class="text" id="mobilecode_pt" f="changept" data-id="mobilecode">请输入手机验证码</p>
          <span class="" id="btn_send_mobilecode" f="send_mobilecode">获取验证码</span>
          <p class="error" id="mobilecode_tips"></p>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->

      <dl>
        <dt>密&nbsp;&nbsp;&nbsp;&nbsp;码</dt>
        <dd>
          <input type="password" name="password" id="password" f="checkinput" maxlength="16" value="<!--{$password}-->" />
          <p class="text" id="password_pt" f="changept" data-id="password"<!--{if !empty($password)}--> style='display:none;'<!--{/if}-->>请输入6-16个字符的登录密码</p>
          <p class="error" id="password_tips"></p>
        </dd>
        <div class="clear"></div>
      </dl>


      <div class="line"></div>
      <input type="hidden" name="current_selbox" id="current_selbox" value="" />
      <dl class="">
        <dt>生日</dt>
        <dd>
          <input type="hidden" name="ageyear" id="ageyear" value="" />
          <input type="hidden" name="agemonth" id="agemonth" value="" />
          <input type="hidden" name="ageday" id="ageday" value="" />
          <div class="date">
            <span f="but_sel_var" data-box="ageyear_box">年</span><i></i> <em></em>
            <div class="drop" id="ageyear_box">
              <ul>
                <!--{assign var="ageyear" value=vo_list("mod={ageyear}")}-->
                <!--{foreach $ageyear as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.value}-->年" data-input="ageyear" data-box="ageyear_box"><!--{$val.value}-->年</li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>

          <div class="date">
            <span f="but_sel_var" data-box="agemonth_box">月</span><i></i> <em></em>
            <div class="drop" id="agemonth_box">
              <ul>
                <!--{assign var="agemonth" value=vo_list("mod={agemonth}")}-->
                <!--{foreach $agemonth as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.value}-->月" data-input="agemonth" data-box="agemonth_box"><!--{$val.value}-->月</li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
          <div class="date">
            <span f="but_sel_var" data-box="ageday_box">日</span><i></i> <em></em>
            <div class="drop" id="ageday_box">
              <ul>
                <!--{assign var="ageday" value=vo_list("mod={ageday}")}-->
                <!--{foreach $ageday as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.value}-->日" data-input="ageday" data-box="ageday_box"><!--{$val.value}-->日</li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
          <p class="error" id="birthday_tips">请选择生日</p>
        </dd>
        <div class="clear"></div>
      </dl>
      <dl class="city">
        <dt>城市</dt>
        <dd>
          <input type="hidden" name="dist1" id="dist1" value="" />
          <input type="hidden" name="dist2" id="dist2" value="" />
          <input type="hidden" name="dist3" id="dist3" value="" />
          <input type="hidden" name="dist4" id="dist4" value="" />
          <div class="area">
            <span f="but_sel_var" data-box="dist1_box">省/直辖市</span> <i></i> <em></em>
            <div class="drop" id="dist1_box">
              <ul>
                <!--{assign var="dist1_list" value=vo_list("mod={area} where={v.parentid='0'}")}-->
                 <!--{foreach $dist1_list as $val}-->
                <li f="but_sel_area" data-value="<!--{$val.areaid}-->" data-text="<!--{$val.areaname}-->" data-name="dist" data-depth='1' data-child='1'><!--{$val.areaname}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
          <div class="area">
            <span f="but_sel_var" data-box="dist2_box">市/区</span> <i></i> <em></em>
            <div class="drop" id="dist2_box">
            </div>
          </div>
          <div class="area">
            <span f="but_sel_var" data-box="dist3_box">区/县</span> <i></i> <em></em>
            <div class="drop" id="dist3_box">
            </div>
          </div>
          <div class="clear"></div>

          <p class="error" id="dist_tips">请选择城市</p>
        </dd>
        <div class="clear"></div>
      </dl>
      <dl>
        <dt>性别</dt>
        <dd style="padding-top:5px;">
          <input type="hidden" name="gender" id="gender" value="2" />
          <label f="sel_gender" data-id="1"></label>男 &#12288;
          <label f="sel_gender" data-id="2" class="current"></label>女
        </dd>
        <div class="clear"></div>
      </dl>

      <div class="line"></div>

      <!--{if $config.regsort == '1'}-->
      <dl class="">
        <dt>我想</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="sort" id="sort" value="" />
            <span f="but_sel_var" data-box="sort_box">选择注册目的</span> <i></i> <em></em>
            <div class="drop" id="sort_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={sort}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="sort" data-box="sort_box"><!--{$val.text}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->

      <!--{if $config.regmarry == '1'}-->
      <dl class="">
        <dt>婚况</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="marry" id="marry" value="" />
            <span f="but_sel_var" data-box="marry_box">选择目前婚姻状况</span> <i></i> <em></em>
            <div class="drop" id="marry_box">
            <ul>
              <!--{assign var="var_list" value=vo_list("mod={volistvar} where={marry}")}-->
              <!--{foreach $var_list as $val}-->
              <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="marry" data-box="marry_box"><!--{$val.text}--></li>
              <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->

      <!--{if $config.regheight == '1'}-->
      <dl class="">
        <dt>身高</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="height" id="height" value="" />
            <span f="but_sel_var" data-box="height_box">选择您的身高</span> <i></i> <em></em>
            <div class="drop" id="height_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={height}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.value}-->CM" data-input="height" data-box="height_box"><!--{$val.value}-->CM</li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->

      <!--{if $config.regweight == '1'}-->
      <dl class="">
        <dt>体重</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="weight" id="weight" value="" />
            <span f="but_sel_var" data-box="weight_box">选择您的体重</span> <i></i> <em></em>
            <div class="drop" id="weight_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={weight}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.value}-->KG" data-input="weight" data-box="weight_box"><!--{$val.value}-->KG</li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
        
      <!--{if $config.regeducation == '1'}-->
      <dl class="">
        <dt>学历</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="education" id="education" value="" />
            <span f="but_sel_var" data-box="education_box">选择您的学历</span> <i></i> <em></em>
            <div class="drop" id="education_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={education}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="education" data-box="education_box"><!--{$val.text}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
      
      <!--{if $config.regsalary == '1'}-->
      <dl class="">
        <dt>年收入</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="salary" id="salary" value="" />
            <span f="but_sel_var" data-box="salary_box">选择您的年收入</span> <i></i> <em></em>
            <div class="drop" id="salary_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={salary}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="salary" data-box="salary_box"><!--{$val.text}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
      <!--{if $config.regjob == '1'}-->
      <dl class="">
        <dt>职业</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="job" id="job" value="" />
            <span f="but_sel_var" data-box="job_box">选择您的职业</span> <i></i> <em></em>
            <div class="drop" id="job_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={job}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="job" data-box="job_box"><!--{$val.text}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
        
      <!--{if $config.reghouse == '1'}-->
      <dl class="">
        <dt>购房</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="house" id="house" value="" />
            <span f="but_sel_var" data-box="house_box">选择您的购房情况</span> <i></i> <em></em>
            <div class="drop" id="house_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={house}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="house" data-box="house_box"><!--{$val.text}--></li>
                <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
      
      <!--{if $config.regcar == '1'}-->
      <dl class="">
        <dt>购车</dt>
        <dd>
          <div class="type">
            <input type="hidden" name="car" id="car" value="" />
            <span f="but_sel_var" data-box="car_box">选择您的购车情况</span> <i></i> <em></em>
            <div class="drop" id="car_box">
              <ul>
                <!--{assign var="var_list" value=vo_list("mod={volistvar} where={car}")}-->
                <!--{foreach $var_list as $val}-->
                <li f="but_sel_confirm" data-value="<!--{$val.value}-->" data-text="<!--{$val.text}-->" data-input="car" data-box="car_box"><!--{$val.text}--></li>
                  <!--{/foreach}-->
              </ul>
            </div>
          </div>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/if}-->
      
	  <!--{if $config.regcode == '1'}-->
      <dl class="ma"> 
        <dt>验证码</dt>
        <dd>
          <input type="text" name="checkcode" id="checkcode" f="checkinput" maxlength="5" />
          <img id="img_checkcode" src="/source/include/validcode.php?type=number&amp;width=65&amp;height=30&amp;num=5">
          <p class="text" id="checkcode_pt" f="changept" data-id="checkcode">请输入图片验证码</p>
          <p class="refresh">
		    <a href="javascript:;" f="but_refresh"><i></i>换一个</a>
		  </p>
        </dd>
        <div class="clear"></div>
      </dl>
	  <!--{/if}-->
      
      <div class="line"></div>
      <div class="btn">
        <span f="but_regpost" data-loading="reg_loading">注 册</span><img src="<!--{$skinpath}-->public/images/loading.gif"  style="margin-left:10px; vertical-align:middle; display:none;" id="reg_loading" />
        <em id="post_tips"></em>
      </div>
      <div class="tips">
        选择继续表示您确认已阅读并接受<a href="javascript:;" f="but_open_reg_clause">会员注册条款</a>
      </div>
    </div>
  </div>
</div>

<div class="oe_shade" style="display:none;" id="reg_clause_box">
  <div class="oe_regcontips">
    <div class="hd">
      会员注册条款
      <span class="close" f="but_close_reg_clause"></span>
    </div>
    <div class="bd drop" >
      <!--{label name="reg_clause"}-->
    </div>
  </div>
</div>
<!--{include file="<!--{$oetplpath}-->public/widget_footer.tpl"}-->
</body>
</html>